package com.yunche.yunchebusiness.mvp.contract

import com.yunche.yunchebusiness.base.mvp.IBasePresenter
import com.yunche.yunchebusiness.base.mvp.IBaseView
import com.yunche.yunchebusiness.entity.HomeEntity

/**
 * Create by Crcker on 2018/12/27 15:59
 * Email: Crcker@163.com
 */


class HomeContract {
    interface View : IBaseView {
        fun getHomeSuccess(homeEntity: HomeEntity)
        fun getHomeError(msg: String)
    }

    interface Presenter : IBasePresenter<View> {
        fun getHomePage()
    }
}